<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/yy-1_0.tld" prefix="yy"%>
<c:set var="pageTitleLocal" value="添加研究者" />
<yy:footprint pageTitle="${pageTitleLocal}" />
<html>
<head>
	<title>${pageTitleLocal}</title>
	<base href="${AppURL}/${AppContext}/" />
    <link href="css/intra.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" media="all" href="js/jscalendar-1.0/skins/aqua/theme.css" title="Aqua" />
	<script language="javascript" type="text/javascript" src="js/jscalendar-1.0/calendar.js"></script>
	<script type="text/javascript" src="js/jscalendar-1.0/lang/cn_utf8.js"></script>
	<script language="JavaScript">
		function check()
		{
			if(document.researcherForm.researcherFamilyName.value.length==0){
				alert("请输入研究者姓氏!");
				return false;
			}
			if(document.researcherForm.researcherGivenName.value.length==0){
				alert("请输入研究者名!");
				return false;
			}
			if(document.researcherForm.researcherInstitute.value.length==0){
				alert("请输入研究者单位!");
				return false;
			}
			if(document.researcherForm.researcherHomepage.value.length==0){
				alert("请输入研究者个人主页!");
				return false;
			}

	
			return true;
		}
	</script>
</head>   
<body> 


<table width="100%" border="0" cellpadding="0" cellspacing="0"  style="border-collapse: collapse" bgcolor="#ffffff" >
	<tr>
		<td width="15%"><img border="0" src="images/null.gif"></td>
		<td align="center">
			<img border="0" src="images/null.gif">
			<b>${pageTitleLocal}</b>
		</td>
		<td align="right"><img border="0" src="images/jiao3.gif"></td>
	</tr>
	<tr><td width="100%" colspan="3" align="center" height="10"></tr>
	<tr>
    	<td width="100%" colspan="3" align="center">
			<form name="researcherForm" action="../researcherAdd.do" method="post" onSubmit="return check()">    	
			<!-- <input type="hidden" name="fileID" value="${fileId}"> -->
			<table width="100%" border="0" cellpadding="0" cellspacing="0" 
    		style="border-collapse: collapse;padding: 2pt" align="center">
    		<!-- 表单信息  -->
				<tr>
					<td align="right" class="style3" width="30%">姓名：</td>
					<td width="70%">
						<input type="text" name="researcherName" size="30" >
					</td>
				</tr> 
				<tr>
					<td align="right" class="style3" width="30%">工作单位：</td>
					<td width="70%">
					  	<textarea name="researcherInstitute" rows="2" cols="41"></textarea>
					</td>
				</tr> 
				<tr>
					<td align="right" class="style3" width="30%">个人主页：</td>
					<td width="70%">
						<input type="text" name="researcherHomepage" size="50" >
					</td>
				</tr> 
				
				<tr>
					<td width="100%" colspan="2" align="center">
				    	<br>
	      					<input border="0" src="images/button-ok.gif" name="Submit" type="image" width="64" height="21">
	      					<img src="images/button-back.gif" name="Submit" onclick="javascript:history.go(-1)">				       	
				        </td>
				</tr>		  
			<!-- /表单信息-->
			</table>
    		</form>
		</td>
	</tr>
		<tr>
    		<td colspan="3" align="left"><img border="0" src="images/jao5.gif"></td>
		</tr>
</table>
 </body>
</html>
